<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@ taglib prefix='fmt' uri="http://java.sun.com/jsp/jstl/fmt" %>  
    <fmt:formatDate value="${content.createtime}" var="data" pattern="yyyy年MM月dd日HH点mm分ss秒" />
 <div class="easyui-panel" style="width:auto;height:600px;padding:10px;border:0px;">
	<div class="easyui-layout" data-options="fit:true">
		<div data-options="region:'east'" style="width:200px;padding:10px;border-left:0px;text-align:center;">
			<c:choose>
				<c:when test="${photo == ''}" >
					<img  src="${pageContext.request.contextPath}/images/userimage.png"/>
				</c:when>
				<c:otherwise>
					<img  src="${pageContext.request.contextPath}/fileupload/${photo}" />				
				</c:otherwise>
			</c:choose>
			<div>${e_name}</div>
		</div>
		<div data-options="region:'center'" class="easyui-layout" >
			<div data-options="region:'north',collapsible:false"  title="标题：${content.title} 发布者：${content.publisher} 发布时间:${data}"  style="width:200px;height:300px;padding:10px;border-top:0px;border-left:0px;border-right:0px;">
					${content.content}
			</div>
			<div data-options="region:'center'"  title="业绩排行 TOP10" style="width:200px;padding:10px;border:0px;">
				 <div id="showkip" class="easyui-tabs" style="width:auto;height:auto" >
 						<div id="mp" title="月度个人" >	
							<table id="mpTT" class="easyui-datagrid" style="width:auto;height:auto；"
									url="${pageContext.request.contextPath}/kpi/getKPIJSON/mp.html"
									singleSelect="true"
									fitColumns="true"
									>
							    <thead>
								    <tr>
								    <th data-options="field:'ename',width:100">姓名</th>
								    <th data-options="field:'money',width:100">业绩（万元）</th>
								    </tr>
							    </thead>
							</table> 															 			
						</div>
 						<div id="mg" title="月度团队" >			
							<table id="mgTT" class="easyui-datagrid" style="width:auto;height:auto；"
									url="${pageContext.request.contextPath}/kpi/getKPIJSON/mg.html"
									singleSelect="true"
									fitColumns="true"
									>
							    <thead>
								    <tr>
								    <th data-options="field:'groupName',width:100">组名</th>
								    <th data-options="field:'money',width:100">业绩（万元）</th>
								    </tr>
							    </thead>
							</table> 	 												 			
						</div>							
						 <div id="qp" title="季度个人" >		
							<table id="qpTT" class="easyui-datagrid" style="width:auto;height:auto"
									url="${pageContext.request.contextPath}/kpi/getKPIJSON/qp.html"
									singleSelect="true"
									fitColumns="true"
									>
							    <thead>
								    <tr>
								    <th data-options="field:'ename',width:100">姓名</th>
								    <th data-options="field:'money',width:100">业绩（万元）</th>
								    </tr>
							    </thead>
							</table> 							 	
						</div>	
 						<div id="qg" title="季度团队" >	
							<table id="mgTT" class="easyui-datagrid" style="width:auto;height:auto；"
									url="${pageContext.request.contextPath}/kpi/getKPIJSON/qg.html"
									singleSelect="true"
									fitColumns="true"
									>
							    <thead>
								    <tr>
								    <th data-options="field:'groupName',width:100">组名</th>
								    <th data-options="field:'money',width:100">业绩（万元）</th>
								    </tr>
							    </thead>
							</table>  														 			
						</div>									 	
				 </div>
			</div>
		</div>
	</div>
</div>